import httpInstance from "@/utils/http"

export const createOrderAPI = (data) => {
    return httpInstance({
        url: 'member/order',
        method: 'POST',
        data,
    })
}

export const getOrderAPI = (id) => {
    return httpInstance({
        url: `/member/order/${id}`
    })
}